package pl.edu.agh.anomalyids.network.header;

public enum TcpFlag {
	NS, CWR, ECE, URG, ACK, PSH, RST, SYN, FIN, UNKNOWN;
	
	public static TcpFlag getValue(String strval){
		try {
			return TcpFlag.valueOf(strval.toUpperCase());
		}
		catch (IllegalArgumentException e){
			return TcpFlag.UNKNOWN;
		}
	}
}
